    % function [CMDs] = FC_Model_Brick(mws, X_S, X_E, Y_S, Y_E, Z_S, Z_E, Material, Component, Name) % 单引号
    %     CMDs = '';
    %     CMDs = [CMDs 'With Brick'];
    %     CMDs = [CMDs 10 '    .Reset'];
    %     CMDs = [CMDs 10 '    .Name "' Name '"'];
    %     CMDs = [CMDs 10 '    .Component "' Component '"'];
    %     CMDs = [CMDs 10 '    .Material "' Material '"'];
    %     CMDs = [CMDs 10 ' .Xrange "' X_S '", "' X_E '"'];
    %     CMDs = [CMDs 10 ' .Yrange "' Y_S '", "' Y_E '"'];
    %     CMDs = [CMDs 10 ' .Zrange "' Z_S '", "' Z_E '"'];
    %     CMDs = [CMDs 10 '    .Create'];
    %     CMDs = [CMDs 10 'End With'];
    %     invoke(mws, 'AddToHistory', ['定义块_' Material '_' Name], CMDs);
    % end

    function [] = FC_Model_Extrude(mws, Height, Component, Material, Name)
        CMDs = '';
        CMDs = [CMDs 'With Extrude'];
        CMDs = [CMDs 10 '    .Reset'];
        CMDs = [CMDs 10 '.Name "' Name '"'];
        CMDs = [CMDs 10 '.NumberOfPickedFaces "6"'];
        CMDs = [CMDs 10 '.PickHeightDeterminedByFirstFace "True"'];
        CMDs = [CMDs 10 '.Component "' Component '"'];
        CMDs = [CMDs 10 '.Material "' Material '"'];
        CMDs = [CMDs 10 '.Mode "MultiplePicks"'];
        CMDs = [CMDs 10 '.Height "' Height '"'];
        CMDs = [CMDs 10 '.Twist "0.0"'];
        CMDs = [CMDs 10 '.Taper "0.0"'];
        CMDs = [CMDs 10 '.UsePicksForHeight "False"'];
        CMDs = [CMDs 10 '.DeleteBaseFaceSolid "False"'];
        CMDs = [CMDs 10 '.ClearPickedFace "True"'];
        CMDs = [CMDs 10 '.Create'];
        CMDs = [CMDs 10 'End With'];
        invoke(mws, 'AddToHistory', '拉伸选择的面', CMDs);
    end
